package com.zzyl.mapper;

import com.github.pagehelper.Page;
import com.zzyl.base.ResponseResult;
import com.zzyl.dto.NursingLevelDto;
import com.zzyl.entity.NursingLevel;
import com.zzyl.vo.NursingLevelVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface NursingLevelMapper {
    //查询项目等级
    List<NursingLevelDto> select();

    //新增护理计划
    void insert( NursingLevel nursingLevel);

    //分页查询
    Page<NursingLevelVo> listByPage(String name, Integer status);
    //根据ID查询
    NursingLevel getById(Long id);
    //修改护理等级
    void upDate(NursingLevel level);

   //删除护理等级
    void delete(Long id);
    //启用禁用
    void onOff(Long id,Integer status);


}
